package com.maxatime.service;

import java.util.List;

import com.maxatime.exception.PhoenirvanaException;


import com.maxatime.pojo.dto.ClassroomDTO;


public interface ClassroomService {

	//查询
	List<ClassroomDTO> listData(ClassroomDTO classroomDTO);
	
	// 根据教室ID查询数据
    ClassroomDTO findByClassroomId(String classroomId);

    int updateData(ClassroomDTO record);//修改
    
    int saveData(ClassroomDTO record) throws PhoenirvanaException;//新增  //新增加异常处理
    
    int deleteByPrimaryKey(Integer pkId);//删除
}